<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<form class="form-inline">
    <div class="form-group">
        <th:block th:if="${exam_id==null}">
            <label for="add_exam_input">新建考试信息:</label>
        </th:block>
        <th:block th:if="${exam_id!=null}">
            <label for="add_exam_input">编辑考试名称:</label>
        </th:block>
        <input class="form-control" id="add_exam_input" type="text"/>
    </div>
</form>
</html>